<script>
	export default {
		globalData: {
			url: 'https://www.naifei.im',
			url2: "https://api.tiankongapi.com/",
			userInfo: null
		},
		onLaunch: function() {
			console.log('App Launch')
			uni.getStorage({
				key: 'userInfo',
				success: function(res) {
					getApp().globalData.userInfo = res.data
				}
			});
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	view {
		box-sizing: border-box;
	}

	/* image {
		will-change: transform
	} */
</style>